/*
 * Powered By [Frank-Liz-Lee]
 * Copyright(C) 2012-2016 Liz Company
 * All rights reserved.
 */
package com.linln.modules.system.domain;

import java.io.Serializable;
import java.util.Date;

/**
 *
 */
public class ActionLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /* 主键ID */
    private Long id;

    /* 日志名称 */
    private String name;

    /* 日志类型 */
    private Byte type;

    /* 操作IP地址 */
    private String ipaddr;

    /* 产生日志的类 */
    private String clazz;

    /* 产生日志的方法 */
    private String method;

    /* 产生日志的表 */
    private String model;

    /* 产生日志的数据id */
    private Long recordId;

    /* 日志消息 */
    private String message;

    /* 记录时间 */
    private java.sql.Timestamp createDate;

    /* 产生日志的用户昵称 */
    private String operName;

    /* 产生日志的用户 */
    private Long operBy;


    /* get 主键ID */
    public Long getId() {
        return id;
    }

    /* set 主键ID */
    public void setId(Long id) {
        this.id = id;
    }
    /* get 日志名称 */
    public String getName() {
        return name;
    }

    /* set 日志名称 */
    public void setName(String name) {
        this.name = name;
    }
    /* get 日志类型 */
    public Byte getType() {
        return type;
    }

    /* set 日志类型 */
    public void setType(Byte type) {
        this.type = type;
    }
    /* get 操作IP地址 */
    public String getIpaddr() {
        return ipaddr;
    }

    /* set 操作IP地址 */
    public void setIpaddr(String ipaddr) {
        this.ipaddr = ipaddr;
    }
    /* get 产生日志的类 */
    public String getClazz() {
        return clazz;
    }

    /* set 产生日志的类 */
    public void setClazz(String clazz) {
        this.clazz = clazz;
    }
    /* get 产生日志的方法 */
    public String getMethod() {
        return method;
    }

    /* set 产生日志的方法 */
    public void setMethod(String method) {
        this.method = method;
    }
    /* get 产生日志的表 */
    public String getModel() {
        return model;
    }

    /* set 产生日志的表 */
    public void setModel(String model) {
        this.model = model;
    }
    /* get 产生日志的数据id */
    public Long getRecordId() {
        return recordId;
    }

    /* set 产生日志的数据id */
    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    /* get 日志消息 */
    public String getMessage() {
        return message;
    }

    /* set 日志消息 */
    public void setMessage(String message) {
        this.message = message;
    }
    /* get 记录时间 */
    public java.sql.Timestamp getCreateDate() {
        return createDate;
    }

    /* set 记录时间 */
    public void setCreateDate(java.sql.Timestamp createDate) {
        this.createDate = createDate;
    }
    /* get 产生日志的用户昵称 */
    public String getOperName() {
        return operName;
    }

    /* set 产生日志的用户昵称 */
    public void setOperName(String operName) {
        this.operName = operName;
    }
    /* get 产生日志的用户 */
    public Long getOperBy() {
        return operBy;
    }

    /* set 产生日志的用户 */
    public void setOperBy(Long operBy) {
        this.operBy = operBy;
    }

    public String toString() {
        return "ActionLog {" +
                " , id = " + id +
                " , name = " + name +
                " , type = " + type +
                " , ipaddr = " + ipaddr +
                " , clazz = " + clazz +
                " , method = " + method +
                " , model = " + model +
                " , recordId = " + recordId +
                " , message = " + message +
                " , createDate = " + createDate +
                " , operName = " + operName +
                " , operBy = " + operBy +
            "}";
        }
}